<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog B0235-dialog" ng-init="init();"  style="background-color: #fafafa;">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'B0235.title' | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content" >
        <div class="kmi-layout-page" >
            <div class="kmi-text-fields">
                <label class="label" ng-bind="'B0235.empNo' | translate"></label>
                <input class="value" id="tmpEmp_no" ng-model="dialog.tmpUser_no" ng-keypress="dialog.searchUser($event);"></input>
                <div class="tip search" ng-click="dialog.searchUser();"><img src="image/icons/search.png"></img> </div>
            </div>
            <div class="kmi-text-fields" ng-if="dialog.need_work_reason">
                <label class="label" ng-bind="'B0235.reason' | translate"></label>
                <input class="value" ng-value="dialog.tmpOnWorkInfo.reason_name" readonly="readonly"
                       ng-disabled="!dialog.tmpOnWorkInfo.employee_work_detail" ng-click="dialog.loadEmpWorkReason();"></input>
                <div class="tip"><i class="material-icons">&#xE5CF;</i></div>
                <label class="label"></label>
                <div style="flex: 1"></div>
            </div>
            <div class="kmi-text-fields">
                <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="dialog.groupCheck();">
                    <img ng-show="dialog.checkedgroup" src="image/icons/check1.png" class="ng-hide">
                    <img ng-hide="dialog.checkedgroup" src="image/icons/check0.png" class="">
                </button>
                <label class="label" ng-bind="'B0235.cbogroup' | translate" style="text-align:left"></label>
            </div>
            <div class="kmi-list">
                <div class="kmi-list__header">
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0235.list.column1' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0235.list.column2' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'B0235.list.column3' | translate"></div>
                    <div class="kmi-list__column" style="flex:0 0 40px;"></div>
                </div>
                <div class="kmi-list__row-content">
                    <div class="kmi-list__row" ng-repeat="employee in dialog.OnWorkInfo_detail track by $index">
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="employee.user_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="employee.user_name"></div>
                        <div class="kmi-list__column column-border column-input" style="flex:1">
                            <input class="checktype" readonly="readonly" ng-click="dialog.changeValue($event, employee);" ng-model="employee.parameter_value">
                        </div>
                        <div class="kmi-list__column" style="flex:0 0 40px;">
                            <button class="mdl-button mdl-button--icon" ng-click="dialog.deleteEmployee($index,employee);">
                                <img src="image/icons/delete.png"></img>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="search-tool">
                <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="dialog.changeParameter()" style="width:100px">
                    <label ng-bind="'B0235.changeparameter' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
                <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="dialog.confirm()" style="width:100px">
                    <label ng-bind="'B0235.confirm' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
            </div>
            </div>
    </div>
</div>
